#include <QDebug>

#include "test_googlereader.hpp"
#include "libsocialbox/google_reader.hpp"

void TestGoogleReader::initTestCase()
{
    gr = new GoogleReader("", "", WebClient::Synchronous);
}

void TestGoogleReader::cleanupTestCase()
{
    delete gr;
}

void TestGoogleReader::testLogin()
{
    int status;
    status = gr->login("test.socialbox", "S0ci@lB0x");
    QVERIFY(status == 0);
    status = gr->login("test.socialbox", "passwordquimarchepas");
    QVERIFY(status == -1);
}

